package com.kexin.common.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kexin.common.user.entity.UserBase;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户基本信息表 服务类
 * </p>
 *
 * @author chen
 * @since 2021-01-27
 */
public interface IUserBaseService extends IService<UserBase> {

    UserBase getCurrentUser();
    void saveOrUpdate(HttpServletRequest request,String token);
    void checkLogin(HttpServletRequest request);
    boolean isLogin();
}
